<!--
 * @Author: wuwk
 * @Date: 2021-12-20 13:33:05
 * @LastEditors: wuwk
 * @LastEditTime: 2021-12-22 14:06:37
 * @Description: 申报人数趋势图
-->
<template>
  <div class="wrap">
    <chartTitle title="今日申报人数趋势图" />
    <linesChart />
  </div>
</template>

<script>
import chartTitle from "_c/chartTitle.vue";
import linesChart from "_c/echart/lines";
// import { numConversion } from "@/common/utils";
export default {
  name: "ProjectSbrsqk",

  components: {
    chartTitle,
    linesChart,
  },
  data() {
    return {
      sbrsList: [
        {
          name: "退库发送人次",
          value: 300000,
          prefixClass: "blue",
          config: {
            number: [300000],
            content: "{nt}次",
            textAlign: "left",
            style: {
              fontSize: 20,
              fill: "#00d8ff",
            },
          },
        },
        {
          name: "退库发送金额",
          value: 500000,
          prefixClass: "orange",
          config: {
            number: [500000],
            content: "{nt}万元",
            formatter: this.formatNum,
            textAlign: "left",
            style: {
              fontSize: 20,
              fill: "rgb(245, 158, 110)",
            },
          },
        },
      ],
    };
  },

  mounted() {},

  methods: {
    // formatNum(num) {
    //   let obj = numConversion({ numString: num, unit: "万" });
    //   return obj.value;
    // },
  },
};
</script>

<style lang="scss" scoped>
.wrap {
  padding: 20px;
  position: relative;
}
</style>
